<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<t:datagrid name="texttemplatelist" checkbox="true"
	actionUrl="wxTextTemplateController.do?datagrid" fit="true"
	fitColumns="true" idField="id" queryMode="group" title="文本消息">
	<t:dgCol title="编号" field="id" hidden="true"></t:dgCol>
	<t:dgCol title="文本名称" field="templateName" query="true" width="100"></t:dgCol>
	<t:dgCol title="动态模板" field="freemarkerSupport" queryMode="single"
		dictionary="yesorno" width="50"></t:dgCol>
	<t:dgCol title="文本内容" field="content" width="100"></t:dgCol>
	<t:dgCol title="创建日期" field="createDate" formatter="yyyy-MM-dd"
		width="90"></t:dgCol>
	<t:dgCol title="操作" field="opt"></t:dgCol>
	<t:dgDelOpt title="删除" url="wxTextTemplateController.do?del&id={id}" />
	<t:dgToolBar title="文本录入" icon="icon-add"
		url="wxTextTemplateController.do?addorUpdate" funname="add"></t:dgToolBar>
	<t:dgToolBar title="文本编辑" icon="icon-edit"
		url="wxTextTemplateController.do?addorUpdate" funname="update"></t:dgToolBar>
	<t:dgToolBar title="批量删除" icon="icon-remove"
		url="wxTextTemplateController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
</t:datagrid>


